* {
    font-family: "微软雅黑", "宋体", sans-serif;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    list-style-type: none;
    border-collapse: collapse;
    text-decoration: none;
    outline: none;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
	width: 100%;
    height: 100%;
    overflow-y: hidden;
}


#Login,#register {
	width: 100%;
	height: 100%;
	background: url(bilibili_1.jpg) center no-repeat;
	background-size:cover;
	margin:0 auto;
	box-shadow: 0 0 12px #000;
	display: table;
	transition:height .5s ease;
}

@media only screen and (max-device-width:320px) {
	#Login,#register {
		width: 320px;
	}
}

@media only screen and (min-device-width:1024px) {
	#Login,#register {
		width: 576px;
	}
}





#Login .content, 
#register .content {
	display: table-cell;
	vertical-align: middle;
	background: rgba(0,0,0,.5);
	box-shadow: 0px 0px 9px #887ddd;
}

#Login .content .login,
#register .content .register {
	width: 80%;
	margin: 0 auto;
	padding:2.5%;
	box-shadow: 0px 0px 3px #fff;
	border-radius: 5px; 
	transition:padding .5s ease;
}


#Login .content .login .title,
#register .content .register .title {
	line-height: 45px;
	text-align: center;
	font-size: 24px;
	letter-spacing: 2.5px;
	color:#fff;
	opacity: .6;
}


#Login .content .login .form,
#register .content .register .form {
	padding:10px 0px;
}

#Login .content .login .form .item,
#register .content .register .form .item {
	position: relative;
	display: block;
	vertical-align: inherit;
	width:100%;
	margin:0px auto;
	padding: 8px 45px;
}

#Login .content .login .form .item span,
#register .content .register .form .item span {
	position: absolute;
	display: block;
	left:7.5px;
	top:8px;
	width:30px;
	text-align: center;
	line-height: 30px;
}

#Login .content .login .form .item span i,
#register .content .register .form .item span i {
	font-size: 18px;
	color:#d1d2d4;
	cursor: pointer;
}

#Login .content .login .form .item span i.active,
#register .content .register .form .item span i.active {
	color: #cd7bdd;
}


#Login .content .login .form .item input[type=text],
#Login .content .login .form .item input[type=password],
#register  .content .register .form .item input[type=text],
#register  .content .register .form .item input[type=password] {
	border: none;
	background: none;
	width:100%;
	font-size: 15px;
	line-height: 30px;
	text-align: center;
	color:#f4f4f4;
}

#Login .content .login  .form .item input[type=checkbox],
#register .content .register  .form .item input[type=checkbox]  {
	position: absolute;
	top: 15px;
	left: 14.5px;
	width: 16px;
	height: 16px;
	color: #ff1244;
	background: #ff1244;
	border: none;
}

#Login .content .login  .form .item input[type=button],
#register .content .register .form .item input[type=button] {
	width:100%;
	line-height: 36px;
	font-size: 16px;
	text-align: center;
	border: none;
	background:rgba(255,18,68,.6);
	color: white;
	border-radius: 15px; 
	margin:10px 0px;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
}

#Login .content .login .form .item input[type=button]:hover,
#register .content .register .form .item input[type=button]:hover {
	opacity: .6;
}

#Login .content .login .form .item input[name=register],
#register .content .register .form .item input[name=register] {
	background:rgba(255,255,255,.3);
}

#register .content .register .form .item input[name=vcode] {
	width: 60%;
	line-height: 36px;
}

#register .content .register .form .item input[name=subvcode] {
	margin: 0px;
	width: 40%;
	float: right;
	border-radius: 5px;
	background: rgba(255,255,255,.3);
}

#Login .content .form .item p.text,
#register .content .form .item p.text {
	line-height: 30px;
	color: #cd7bdd;
}


#Login .content .menu,
#register .content .menu {
	width:100%;
	overflow: hidden;
}

#Login .content .menu fieldset,
#register .content .menu fieldset {
	margin: 0px auto;
	width:100%;
	border: none;
	border-top:1px solid #d1d2d4;
	text-align: center;
}

#Login .content .menu fieldset legend,
#register .content .menu fieldset legend {
	line-height: 30px;
	padding:0px 15px;
	font-size: 16px;
	color:#d1d2d4;
}

#Login .content .menu  .item,
#register .content .menu  .item {
	display: block;
	width: 64px;
	height: 64px;
	line-height: 64px;
	float: left;
	text-align: center;
	border-radius: 60px;
	background: rgba(255,255,255,.2);
	margin: 0px 4% 10px 4%; 
}

#Login .content .menu  .item i,
#register .content .menu  .item i {
	font-size: 32px;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	cursor: pointer;
	color:white;
}

#Login .content .menu  .item i:hover,
#register .content .menu  .item i:hover {
	opacity: 0.2;
}






